package com.shitou.shitouproduct.dao;

import com.shitou.shitouproduct.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * spu信息
 *
 * @author shitouren
 * @email 3076767823@qq.com
 * @date 2023-03-17 19:24:40
 */
@Mapper
@Component
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {

    void renewAutoIncrement(String table, @Param("autoNumber") int autoNumber);

    void updateId(String table, @Param("oldId") int oldId, @Param("newId") int newId);
}
